package com.wanho.java158;

import com.wanho.java157.Orders;
import com.wanho.java157.service.BaseService;
import com.wanho.java157.vo.OrdersVo;

import java.util.List;

public interface OrdersService  {
    Orders selectByCustomerId(Integer id);
    boolean deleteByCustomerId(Integer id);
    List<Orders> selectAll();
    boolean removeDetail(Integer id);

    List<OrdersVo> selectByCustomerIdList(Integer id);
    List<Orders> selectByOrderId(Integer id);
    boolean deleteByOrderId(Integer id);
    boolean update(Orders orders);
    boolean add(Orders orders);
}
